package com.rich.dao;

import java.util.List;

import com.rich.domain.Order;
import com.rich.domain.OrderItem;
import com.rich.domain.PageBean;

public interface OrderDao {

	void saveOrder(Order order)throws Exception;

	void saveOrderItem(OrderItem oi)throws Exception;

	int getTotalRecore(String uid)throws Exception;

	List<Order> findMyOrderByPage(PageBean<Order> pb, String uid)throws Exception;

	Order getById(String oid)throws Exception;

	void update(Order order)throws Exception;

	List<Order> findAllByState(String state)throws Exception;

}
